import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)


import webRoutes from './web'
import userRoutes from './user'


const routes = new VueRouter({
    routes: [
        ...webRoutes, //网站页面
        ...userRoutes, //会员页面
        { path: '*', redirect: '/' }, //默认首页
    ]
})

export default routes